A gas valve is a device that controls the flow of gas within a piping system. It can be operated manually or automatically, depending on the application and requirements. There are various types of gas valves, including ball valves, butterfly valves, solenoid valves, and gate valves. Each type has its unique benefits and is suitable for different applications.